package Thread;


public class ThreadDemo9 {
    public static void main(String[] args) throws InterruptedException {
        Thread t = new Thread(()->{

        });
        t.start();
        t.join();
        System.out.println(t.getState());

        System.out.println(t.getId());
        System.out.println(t.getName());
        System.out.println(t.isDaemon());
        System.out.println(t.isAlive());
        System.out.println(Thread.currentThread());
    }
}
